package command;

import entity.Address;
import entity.Point;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BinderCommand implements Serializable {

    private String username;

    private Point point;

    private Point p;

    @DateTimeFormat(pattern="yyyy年MM月dd日")
    private Date birthday;

    private Address address;

}
